package org.appfuse.model;

import java.sql.Date;

/**
 * @struts.form include-all="true" extends="org.appfuse.webapp.form.BaseForm"
 * @hibernate.class table="training"
 */

public class Training extends org.appfuse.model.BaseObject implements
		java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 3943948714719704666L;

	private Integer id;

	private BasicInfo basicInfo;

	private Date ksrq;

	private Date jsrq;

	private String pxlb;

	private String zbdw;

	private String cxdw;

	private String cxdwlb;

	private String cxdwszdq;

	private String pxbmc;

	private String pxblb;

	private String zymc;

	private String lgzt;

	private String wcqk;

	private String a00;

	protected String zbdwmcbc;

	protected String zbdwjb;

	protected String cxdwmcbc;

	protected String zylb;

	protected String cgpxjnxxts;

	protected String cgpxjwxxts;

	protected String kcsxxm;

	protected String tgjxjdw;

	protected String pxqksm;

	protected String xs;

	protected String xf;
	
	protected boolean zzbmrk;

	// Constructors

	public boolean getZzbmrk() {
		return zzbmrk;
	}

	public void setZzbmrk(boolean zzbmrk) {
		this.zzbmrk = zzbmrk;
	}

	public String getCgpxjnxxts() {
		return cgpxjnxxts;
	}

	public void setCgpxjnxxts(String cgpxjnxxts) {
		this.cgpxjnxxts = cgpxjnxxts;
	}

	public String getCgpxjwxxts() {
		return cgpxjwxxts;
	}

	public void setCgpxjwxxts(String cgpxjwxxts) {
		this.cgpxjwxxts = cgpxjwxxts;
	}

	public String getCxdwmcbc() {
		return cxdwmcbc;
	}

	public void setCxdwmcbc(String cxdwmcbc) {
		this.cxdwmcbc = cxdwmcbc;
	}

	public String getKcsxxm() {
		return kcsxxm;
	}

	public void setKcsxxm(String kcsxxm) {
		this.kcsxxm = kcsxxm;
	}

	public String getPxqksm() {
		return pxqksm;
	}

	public void setPxqksm(String pxqksm) {
		this.pxqksm = pxqksm;
	}

	public String getTgjxjdw() {
		return tgjxjdw;
	}

	public void setTgjxjdw(String tgjxjdw) {
		this.tgjxjdw = tgjxjdw;
	}

	public String getXf() {
		return xf;
	}

	public void setXf(String xf) {
		this.xf = xf;
	}

	public String getXs() {
		return xs;
	}

	public void setXs(String xs) {
		this.xs = xs;
	}

	public String getZbdwjb() {
		return zbdwjb;
	}

	public void setZbdwjb(String zbdwjb) {
		this.zbdwjb = zbdwjb;
	}

	public String getZbdwmcbc() {
		return zbdwmcbc;
	}

	public void setZbdwmcbc(String zbdwmcbc) {
		this.zbdwmcbc = zbdwmcbc;
	}

	public String getZylb() {
		return zylb;
	}

	public void setZylb(String zylb) {
		this.zylb = zylb;
	}

	public String getA00() {
		return a00;
	}

	public void setA00(String a00) {
		this.a00 = a00;
	}

	/** default constructor */
	public Training() {
	}

	// Property accessors

	public Training(Integer id, BasicInfo basicInfo, Date ksrq, Date jsrq,
			String pxlb, String zbdw, String cxdw, String cxdwlb,
			String cxdwszdq, String pxbmc, String pxblb, String zymc,
			String lgzt, String wcqk, String a00, String zbdwmcbc,
			String zbdwjb, String cxdwmcbc, String zylb, String cgpxjnxxts,
			String cgpxjwxxts, String kcsxxm, String tgjxjdw, String pxqksm,
			String xs, String xf) {
		super();
		this.id = id;
		this.basicInfo = basicInfo;
		this.ksrq = ksrq;
		this.jsrq = jsrq;
		this.pxlb = pxlb;
		this.zbdw = zbdw;
		this.cxdw = cxdw;
		this.cxdwlb = cxdwlb;
		this.cxdwszdq = cxdwszdq;
		this.pxbmc = pxbmc;
		this.pxblb = pxblb;
		this.zymc = zymc;
		this.lgzt = lgzt;
		this.wcqk = wcqk;
		this.a00 = a00;
		this.zbdwmcbc = zbdwmcbc;
		this.zbdwjb = zbdwjb;
		this.cxdwmcbc = cxdwmcbc;
		this.zylb = zylb;
		this.cgpxjnxxts = cgpxjnxxts;
		this.cgpxjwxxts = cgpxjwxxts;
		this.kcsxxm = kcsxxm;
		this.tgjxjdw = tgjxjdw;
		this.pxqksm = pxqksm;
		this.xs = xs;
		this.xf = xf;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public BasicInfo getBasicInfo() {
		return basicInfo;
	}

	public void setBasicInfo(BasicInfo basicInfo) {
		this.basicInfo = basicInfo;
		this.a00 = basicInfo.getId();
	}

	public String getPxlb() {
		return this.pxlb;
	}

	public void setPxlb(String pxlb) {
		this.pxlb = pxlb;
	}

	public String getZbdw() {
		return this.zbdw;
	}

	public void setZbdw(String zbdw) {
		this.zbdw = zbdw;
	}

	public String getCxdw() {
		return this.cxdw;
	}

	public void setCxdw(String cxdw) {
		this.cxdw = cxdw;
	}

	public String getCxdwlb() {
		return this.cxdwlb;
	}

	public void setCxdwlb(String cxdwlb) {
		this.cxdwlb = cxdwlb;
	}

	public String getCxdwszdq() {
		return this.cxdwszdq;
	}

	public void setCxdwszdq(String cxdwszdq) {
		this.cxdwszdq = cxdwszdq;
	}

	public String getPxbmc() {
		return this.pxbmc;
	}

	public void setPxbmc(String pxbmc) {
		this.pxbmc = pxbmc;
	}

	public String getPxblb() {
		return this.pxblb;
	}

	public void setPxblb(String pxblb) {
		this.pxblb = pxblb;
	}

	public String getZymc() {
		return this.zymc;
	}

	public void setZymc(String zymc) {
		this.zymc = zymc;
	}

	public String getLgzt() {
		return this.lgzt;
	}

	public void setLgzt(String lgzt) {
		this.lgzt = lgzt;
	}

	public String getWcqk() {
		return this.wcqk;
	}

	public void setWcqk(String wcqk) {
		this.wcqk = wcqk;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return null;
	}

	public Date getJsrq() {
		return jsrq;
	}

	public void setJsrq(Date jsrq) {
		this.jsrq = jsrq;
	}

	public Date getKsrq() {
		return ksrq;
	}

	public void setKsrq(Date ksrq) {
		this.ksrq = ksrq;
	}

	@Override
	public int hashCode() {
		final int PRIME = 31;
		int result = 1;
		result = PRIME * result + ((a00 == null) ? 0 : a00.hashCode());
		result = PRIME * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		final Training other = (Training) obj;
		if (a00 == null) {
			if (other.a00 != null)
				return false;
		} else if (!a00.equals(other.a00))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		return true;
	}

}